package com.potenza.training.dictionary.server.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.potenza.training.dictionary.dao.IndustryMapper;
import com.potenza.training.dictionary.entity.Industry;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndustryService {
     @Autowired
    IndustryMapper industryMapper;


    public List<Industry> findindustry() {
        QueryWrapper<Industry> industryQueryWrapper = new QueryWrapper<>();
      return   industryMapper.selectList(industryQueryWrapper);
    }
}
